apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
  name: {{APP_NAME}}-ingress
  namespace: hsyl-app
spec:
  rules:
    - host: dev.gateway.textile-saas.huansi.net
      http:
        paths:
          - backend:
              serviceName: {{APP_NAME}}
              servicePort: 80
            path: /
          - backend:
              serviceName: iot-gateway
              servicePort: 8000
            path: /api
status:
  loadBalancer:
    ingress:
      - ip: 47.98.219.245
